package com.itwn.portal.mapper;

import com.itwn.portal.entity.Buy;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface BuyMapper {
    int insert(Buy record);

    List<Buy> selectAll();

    Integer selectPersonCollectTotalByUid(Integer uid);

    Buy selectOne(@Param("uid") Integer uid,@Param("sid") Integer sid);
}